.search {
  width: 100%;

  .not-data {
    text-align: center;
    margin-top: 300rpx;
    font-size: 36rpx;
    font-weight: 500;
  }

  .search-content {
    padding-left: 20rpx;
    border: 2rpx solid var(--text-gray);
    width: 80%;
    height: 60rpx;
    display: flex;
    align-items: center;
    border-radius: 30rpx;
  }

  .search-head {
    margin-top: 20rpx;
    display: flex;
    justify-content: space-evenly;

    .ipt {
      outline: none;
      border-radius: 30rpx;
      font-size: 32rpx;
      color: #000;
      padding-left: 20rpx;
    }

    .search-btn {
      line-height: 60rpx;
    }
  }

  .search-page-content {
    margin-top: 30rpx;
    margin-left: 20rpx;
    font-size: 36rpx;

    .history-content {
      margin-top: 20rpx;
      display: flex;
      flex-wrap: wrap;

      .history-content-item {
        height: 50rpx;
        line-height: 50rpx;
        padding: 0 20rpx;
        border: 2rpx solid var(--bgc-black2);
        border-radius: 999rpx;
        font-size: 32rpx;
        margin-right: 20rpx;
        margin-bottom: 20rpx;
        position: relative;

        .delete-icon {
          position: absolute;
          top: -15rpx;
          right: -8rpx;
        }
      }
    }
  }

  .content-book {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30rpx;
  }

  .book-info {
    position: relative;
    display: flex;
    width: 704rpx;
    justify-content: space-between;
    margin-bottom: 40rpx;

    image {
      width: 160rpx;
      height: 210rpx;
    }

    .info-text {
      width: 510rpx;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      margin-left: 40rpx;

      .text-title {
        font-size: 34rpx;
        font-weight: 600;
        color: var(--text-black);
      }

      .text-author {
        font-size: 34rpx;
        color: var(--text-gray);
      }

      .text-content {
        width: 100%;
        height: 84rpx;
        line-height: 42rpx;
        font-size: 26rpx;
        color: var(--text-gray);
      }


    }
  }

  .fd {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .two-fd {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .hot-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10rpx;
    font-size: 32rpx;
    padding-left: 10rpx;

    .hot-item {
      width: 300rpx;
      height: 76rpx;
      display: flex;
      align-items: center;
      margin-right: 16rpx;

      &:nth-child(1) {
        .index-color {
          background-color: red;
        }
      }

      &:nth-child(2) {
        .index-color {
          background-color: #ff7919;
        }
      }

      &:nth-child(3) {
        .index-color {
          background-color: #ffbf00;
        }
      }
    }

    .index-color {
      display: inline-block;
      width: 36rpx;
      height: 36rpx;
      border-radius: 50%;
      color: #fff;
      text-align: center;
      line-height: 36rpx;
      background-color: #d9d9d9;
      margin-right: 16rpx;
    }
  }

  .search-title {
    margin-top: 10rpx;
    font-size: 36rpx;
    font-weight: bold;
    display: flex;
    justify-content: space-between;

    .de-icon {
      margin-right: 40rpx;
    }
  }

}